diff options
author | Mattias Andrée <maandree@kth.se> | 2017-08-13 19:56:00 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-08-13 19:56:00 +0200 |
commit | 5da39735331c9f3a4e24b38f72b30afc197318be (patch) | |
tree | 5cac461652fe9464e21e944a53995c3975b9924b /latex-beamer [disowned] | |
parent | libcolour: add missing deps (diff) | |
download | aur-packages-5da39735331c9f3a4e24b38f72b30afc197318be.tar.gz aur-packages-5da39735331c9f3a4e24b38f72b30afc197318be.tar.bz2 aur-packages-5da39735331c9f3a4e24b38f72b30afc197318be.tar.xz |
Update and disown latex-beamer
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'latex-beamer [disowned]')
-rw-r--r-- | latex-beamer [disowned]/PKGBUILD | 24 | ||||
-rw-r--r-- | latex-beamer [disowned]/latex-beamer.install | 4 |
2 files changed, 28 insertions, 0 deletions
diff --git a/latex-beamer [disowned]/PKGBUILD b/latex-beamer [disowned]/PKGBUILD new file mode 100644 index 0000000..f279d7e --- /dev/null +++ b/latex-beamer [disowned]/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> +# Contributor: Daniel Ehlers <danielehlers@mindeye.net> + +pkgname=latex-beamer +pkgver=3.42 +pkgrel=1 +pkgdesc='Beamer is a LaTeX class for creating slides for presentations.' +arch=('any') +url='https://github.com/josephwright/beamer' +license=('GPL') +install='latex-beamer.install' +depends=('texlive-core') +source=("https://github.com/josephwright/beamer/archive/v${pkgver}.tar.gz") +sha256sums=('6ac3708cd44638d2fb237c33e871cb1d2616d6e10597266bb1ea443341141bda') + + +package() { + cd "${srcdir}/beamer-${pkgver}" + + find . -name "*.sty" | xargs sed -i -e '/\ProvidesPackageRCS \$Header\$/ s/^/%/' + mkdir -p -- "${pkgdir}/usr/share/texmf-dist/tex/latex/beamer" + cp -r -- * "${pkgdir}/usr/share/texmf-dist/tex/latex/beamer" +} + diff --git a/latex-beamer [disowned]/latex-beamer.install b/latex-beamer [disowned]/latex-beamer.install new file mode 100644 index 0000000..cef1902 --- /dev/null +++ b/latex-beamer [disowned]/latex-beamer.install @@ -0,0 +1,4 @@ +post_install(){ + /usr/bin/texhash + /bin/true +} |